import Layout from '@/layout/index.vue';
import type { AppRoute } from '@/types/route';

const specialColumnRouter: AppRoute[] = [
  {
    path: '/specialColumn',
    component: Layout,
    redirect: '/specialColumn/index',
    name: 'specialColumn',
    meta: {
      title: '专栏',
      icon: 'chat-square',
      roles: ['GUEST', 'USER']
    },
    children: [
      {
        path: 'index',
        component: () => import('@/views/specialColumn/index.vue'),
        name: 'specialColumnShow',
        meta: {
          title: '专栏',
          icon: 'chat-square',
          roles: ['GUEST', 'USER']
        },
        hidden: true
      }
    ]
  }
];

export default specialColumnRouter;
